object frmDish: TfrmDish
  Left = 95
  Top = 0
  Width = 598
  Height = 450
  BorderIcons = []
  BorderStyle = bsSizeToolWin
  Caption = #33756#21697
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poDefault
  Visible = True
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 12
  object spl1: TSplitter
    Left = 137
    Top = 26
    Width = 4
    Height = 390
  end
  object cxgrd1: TcxGrid
    Left = 141
    Top = 26
    Width = 449
    Height = 390
    Align = alClient
    TabOrder = 0
    object cxgrdTVGrid1DBTableView1: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = dsDish
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsData.Deleting = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      object cxgrdTVGrid1DBTableView1Column1: TcxGridDBColumn
        Caption = #32534#21495
        DataBinding.FieldName = 'id'
        Width = 74
      end
      object cxgrdTVGrid1DBTableView1Column2: TcxGridDBColumn
        Caption = #33756#21697#21517#31216
        DataBinding.FieldName = 'name'
        Width = 178
      end
      object cxgrdTVGrid1DBTableView1Column3: TcxGridDBColumn
        Caption = #20215#26684
        DataBinding.FieldName = 'price'
        Width = 117
      end
      object cxgrdTVGrid1DBTableView1Column4: TcxGridDBColumn
        Caption = #21333#20301
        DataBinding.FieldName = 'unit'
        Width = 66
      end
    end
    object cxgrdlvlGrid1Level1: TcxGridLevel
      GridView = cxgrdTVGrid1DBTableView1
    end
  end
  object cxgrd2: TcxGrid
    Left = 0
    Top = 26
    Width = 137
    Height = 390
    Align = alLeft
    TabOrder = 5
    object cxgrdTVGrid1DBTableView11: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = dsDishGroup
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsData.Deleting = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      object cxgrdTVGrid1DBTableView11id: TcxGridDBColumn
        Caption = #32534#21495
        DataBinding.FieldName = 'id'
        Width = 43
      end
      object cxgrdTVGrid1DBTableView11name: TcxGridDBColumn
        Caption = #20998#31867#21517#31216
        DataBinding.FieldName = 'name'
        Width = 76
      end
    end
    object cxgrdlvlGrid1Level11: TcxGridLevel
      GridView = cxgrdTVGrid1DBTableView11
    end
  end
  object dsDish: TDataSource
    DataSet = tbDish
    Left = 193
    Top = 123
  end
  object dxbrmngr1: TdxBarManager
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    Categories.Strings = (
      'Default')
    Categories.ItemsVisibles = (
      2)
    Categories.Visibles = (
      True)
    PopupMenuLinks = <>
    UseSystemFont = True
    Left = 345
    Top = 51
    DockControlHeights = (
      0
      0
      26
      0)
    object dxbrmngr1Bar1: TdxBar
      AllowQuickCustomizing = False
      Caption = 'Custom 1'
      CaptionButtons = <>
      DockedDockingStyle = dsTop
      DockedLeft = 0
      DockedTop = 0
      DockingStyle = dsTop
      FloatLeft = 186
      FloatTop = 167
      FloatClientWidth = 0
      FloatClientHeight = 0
      ItemLinks = <
        item
          Visible = True
          ItemName = 'dxbrbtn8'
        end
        item
          Visible = True
          ItemName = 'dxbrbtn2'
        end
        item
          Visible = True
          ItemName = 'dxbrbtn9'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'dxbrbtn1'
        end
        item
          Visible = True
          ItemName = 'dxbrbtn6'
        end
        item
          Visible = True
          ItemName = 'dxbrbtn3'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'dxbrbtn5'
        end>
      OneOnRow = True
      Row = 0
      UseOwnFont = False
      Visible = True
      WholeRow = False
    end
    object dxbrbtn1: TdxBarButton
      Action = actAdd
      Category = 0
    end
    object dxbrbtn2: TdxBarButton
      Action = actDeleteGroup
      Category = 0
    end
    object dxbrbtn3: TdxBarButton
      Action = actSave
      Category = 0
    end
    object dxbrbtn4: TdxBarButton
      Action = actCancel
      Category = 0
    end
    object dxbrbtn5: TdxBarButton
      Action = actExit
      Category = 0
    end
    object dxbrbtn6: TdxBarButton
      Action = actDelete
      Category = 0
    end
    object dxbrbtn7: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
    end
    object dxbrbtn8: TdxBarButton
      Action = actAddGroup
      Category = 0
    end
    object dxbrbtn9: TdxBarButton
      Action = actSaveGroup
      Category = 0
    end
  end
  object actlst1: TActionList
    Left = 313
    Top = 51
    object actAdd: TAction
      Caption = #22686#21152#33756#21697
      OnExecute = actAddExecute
    end
    object actDelete: TAction
      Caption = #21024#38500#33756#21697
      OnExecute = actDeleteExecute
    end
    object actSave: TAction
      Caption = #20445#23384#33756#21697
      OnExecute = actSaveExecute
    end
    object actCancel: TAction
      Caption = #25918#24323#23384#30424
      Enabled = False
      OnExecute = actCancelExecute
    end
    object actExit: TAction
      Caption = #36864#20986
      OnExecute = actExitExecute
    end
    object actEditDishGroup: TAction
      Caption = #32534#36753#33756#21697#20998#31867
      OnExecute = actEditDishGroupExecute
    end
    object actAddGroup: TAction
      Caption = #22686#21152#20998#31867
      OnExecute = actAddGroupExecute
    end
    object actDeleteGroup: TAction
      Caption = #21024#38500#20998#31867
      OnExecute = actDeleteGroupExecute
    end
    object actSaveGroup: TAction
      Caption = #20445#23384#20998#31867
      OnExecute = actSaveGroupExecute
    end
  end
  object TdxBarSeparator
    Category = -1
    Visible = ivAlways
  end
  object tbDish: TUniTable
    TableName = 'dish'
    OrderFields = 'id'
    KeyFields = 'id'
    Connection = frmMain.con1
    IndexFieldNames = 'id'
    AfterInsert = tbDishAfterInsert
    BeforePost = tbDishBeforePost
    Options.PrepareUpdateSQL = True
    Options.DefaultValues = True
    Left = 161
    Top = 123
  end
  object tbDishGroup: TUniTable
    TableName = 'dishgroup'
    OrderFields = 'id'
    KeyFields = 'id'
    Connection = frmMain.con1
    BeforePost = tbDishGroupBeforePost
    AfterScroll = tbDishGroupAfterScroll
    Left = 25
    Top = 119
  end
  object dsDishGroup: TUniDataSource
    DataSet = tbDishGroup
    Left = 56
    Top = 120
  end
end
